/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.Table*/
public class Table extends JavaScriptObject {

	protected Table() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final Columns getColumns()/*-{
		return this.Columns;
	}-*/;

	public native final Rows getRows()/*-{
		return this.Rows;
	}-*/;

	public native final Cell cell(int row, int column)/*-{
		return this.Cell( row, column);
	}-*/;

	public native final int getTableDirection()/*-{
		return this.TableDirection;
	}-*/;

	public native final void setTableDirection(int value)/*-{
		this.TableDirection = value;
	}-*/;

	public native final void mergeBorders()/*-{
		this.MergeBorders( );
	}-*/;

	public native final boolean getFirstRow()/*-{
		return this.FirstRow;
	}-*/;

	public native final void setFirstRow(boolean value)/*-{
		this.FirstRow = value;
	}-*/;

	public native final boolean getLastRow()/*-{
		return this.LastRow;
	}-*/;

	public native final void setLastRow(boolean value)/*-{
		this.LastRow = value;
	}-*/;

	public native final boolean getFirstCol()/*-{
		return this.FirstCol;
	}-*/;

	public native final void setFirstCol(boolean value)/*-{
		this.FirstCol = value;
	}-*/;

	public native final boolean getLastCol()/*-{
		return this.LastCol;
	}-*/;

	public native final void setLastCol(boolean value)/*-{
		this.LastCol = value;
	}-*/;

	public native final boolean getHorizBanding()/*-{
		return this.HorizBanding;
	}-*/;

	public native final void setHorizBanding(boolean value)/*-{
		this.HorizBanding = value;
	}-*/;

	public native final boolean getVertBanding()/*-{
		return this.VertBanding;
	}-*/;

	public native final void setVertBanding(boolean value)/*-{
		this.VertBanding = value;
	}-*/;

	public native final TableStyle getStyle()/*-{
		return this.Style;
	}-*/;

	public native final TableBackground getBackground()/*-{
		return this.Background;
	}-*/;

	public native final void scaleProportionally(float scale)/*-{
		this.ScaleProportionally( scale);
	}-*/;

	public native final void applyStyle(String styleID, boolean saveFormatting)/*-{
		this.ApplyStyle( styleID, saveFormatting);
	}-*/;

}
